package datastructure.apply.maze;

public class MazeTest {
    public static void main(String[] args) {
        byte[][] mazeArray = {{0, 0, 0, 0, 0, 0}, {0, 1, 0, 1, 1, 0}, {0, 1, 1, 0, 0, 0}, {0, 1, 0, 1, 1, 0}, {0, 1, 1, 1, 1, 0}, {0, 0, 0, 0, 0, 0}};
        Diamond startDiamond = new Diamond(1, 1), endDiamond = new Diamond(4, 4);
        Maze maze = new Maze(mazeArray, startDiamond, endDiamond);
        System.out.println(maze.findPath());
        System.out.println(maze.getStack());
    }
}
